

class HersheyText
{
private:
	HersheyText(){ setFont(8,12); }
	static HersheyText* _instance;
	float moveToX, moveToY;
	float tx,ty;
  float textW, textH;


public:
	static HersheyText* Instance();
	void moveTo(float x, float y);
	void centerText( float x, float y );
	void lineTo(float x, float y);
	void drawChar(int c,float scale);
	void setFont(float w, float h);
	void glPrintf(const char *format,...);
	
};